package hdu.pms;

import java.io.IOException;
import java.io.PrintWriter;
import java.util.Date;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class HalloHDU extends HttpServlet {
	public void doGet(HttpServletRequest request, HttpServletResponse response)
		throws IOException, ServletException {
		PrintWriter out = response.getWriter();
		int i = 7 + 9;
		out.write("<html>");
		out.write("<body>");
		out.write("<h1>Überschrift</h1>");
		out.write("<p>" + i + "</p>");
		out.write("<p>Hallo Deggendorf " + new Date() + "!!!</p>");
		out.write("</body>");
		out.write("</html>");
		out.close();
	}
}










